'use strict'

function showWan (num) {
  const a = Number(num)/10000;
  if(String(a).split('.')[1].slice(0,1)<5){
     return String(a).split('.')[0] + "万"
  }else{
    return Number(String(a).split('.')[0])+1+ "万"
  }
}

export default {
  showWan
}
